package com.ctrip.controllers;

import com.ctrip.datebinder.DateEditor;
import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.InitBinder;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;
import java.util.Objects;

/**
 * Created by li_wb on 2017/8/24.
 */

@RestController
@RequestMapping("/")
public class IndexController extends BaseController {
    @RequestMapping("1")
    public String index(Date date) {
        System.out.println(date);
        return "hi";
    }
}
